//
//  YSHttpTool.h
//  iWeibo
//
//  Created by yang on 15/11/16.
//  Copyright © 2015年 yang. All rights reserved.
//

#import <Foundation/Foundation.h>


@interface YSHttpTool : NSObject

/**
 *  post
 */
+ (void)POSTWithURL:(NSString *)url params:(NSDictionary *)params success:(void (^)(id responseObject))success failure:(void (^)(NSError *error))failure;


/**
 *  get
 */
+ (void)GETWithURL:(NSString *)url params:(NSDictionary *)params success:(void (^)(id responseObject))success failure:(void (^)(NSError *error))failure;

@end
